- updated to move code inline with similar usages
NEXUS-5037 - single quote symbol is accepted as user password but then does not work