Re: electricity
Are you saying that it doesn't even have an electric light, or just that it doesn't have an outlet that you could plug a razor or hair dryer into?
The fact that the city now enforces the 1996 code is not relevant. What would have mattered is what year was the building built, and what code was in effect at that time. If (for example) this building is over 50 years old, the landlord has a case for saying that "It's not been a problem for the 15 other tenants who lived here before you."
PLEASE NOTE: IMPORTANT SAFETY TIP
If you plan on bringing an extension cord into the bathroom, just so you can plug in your razor, then please find a way to connect it to an outlet that has Ground Fault Circuit Interrupter (GFCI) protection. It's possible, even likely, that you will not find a GFCI outlet close enough to the bathroom for an extension cord to reach. But you can buy at least two different types of GFCI protectors that could serve your needs. The simplest one is a box that you plug into a regular outlet, and that you plug other stuff into. The GFCI protection components are internal to the box. Another thing you can buy is an extension cord with the GFCI components built into the cord itself. I've seen the first type for about $10.00. I bought the other type (6 foot extension cord) for about $30.00.
While I'm on this soap box, let me add that if your house (like mine) is old, and if you house (like mine) has no GFCI outlets outside, then you should get one of these "portable" GFCI devices for your use outdoors. The reason I bought one is that there are no GFCI outlets available to me outside. You should NEVER operate any portable electrical equipment (e.g., week whackers, leaf blowers, or hand tools) outside, and you should especially NEVER use an extension cord outdoors, unless you can confirm that you have it plugged into a GFCI-protected outlet.