Update AuthenticationTest.java

Changed Java files to make Test success