Fix randomly occuring failure in unauthorized tests
Due to the tests not properly waiting until the page is fully loaded it could happen that the tests fail randomly. This changes makes sure that the implementation waits until the page is loaded.
@Normo Could you please check and also see if you agree if it's fine to directly release 0.2.1
?
Edited by Huste, Tobias