Update Authentication.java

Removed Sun JDK dependency from Authentication