The attrib is stored as  USER_CT.format(username) so when we query the db to get it out, we need to build that matching string back up again. Right now it's just querying for the uesrname without the rest of the prefix.