Implemented tests for alternative authentication methods in swift.