[#98] Integration tests for authentication