code: @POST
      @Produces(MediaType.APPLICATION_JSON)
      @Consumes(MediaType.APPLICATION_JSON)
      @Description("Authenticates a user principal.")
      @Path("/login")
      public Response login(@Context UriInfo uriInfo, final CredentialsDto creds) {
      	Response response = Response.temporaryRedirect(UriBuilder.fromUri(uriInfo.getBaseUri() + "v2/auth/login").build()).build();
      	return response;
      }
docs: Authenticates a user principal.
  
  @param uriInfo  URI info
  @param   creds  The credentials with which to authenticate.
  
  @return  Response containing the required information.
  
  @throws  WebApplicationException  If the user is not authenticated.