RT# 75817 - fixed selecting random password on custmain page