fixed issue with first time authentication, added test project