Generate and return JWT when proper credentials are presented