CDAP-663 Implemented healthcheck for router and auth-server.

The PR enables health check for router and auth servers independent of downstream services.  
Using server.getSocketAddress().getHostName() instead of hard-coded ip address throughout the file.