Reimplemented https auth by username and password
Fixed bug on request strings like test.asd, the ending was removed and
the searchphrase became "test"