change credentials to tomcat credentials