JCLOUDS-549: Fix NPE in LoginCredentials.toString